@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="IndexPictureForm">

            <input type="hidden" id="id" value="${indexPicture.id}">

            <div class="row">
                <div class="col-sm-10">
                    <#select id="ageType" name="年龄段" >
                        @if(indexPicture.ageType == 0) {
                        <option value="0" selected="selected">全部适用</option>
                        @} else {
                        <option value="0">全部适用</option>
                        @}
                        @if(indexPicture.ageType == 1) {
                        <option value="1" selected="selected">0-1岁</option>
                        @} else {
                        <option value="1">0-1岁</option>
                        @}
                        @if(indexPicture.ageType == 2) {
                        <option value="2" selected="selected">1-3岁</option>
                        @} else {
                        <option value="2">1-3岁</option>
                        @}
                        @if(indexPicture.ageType == 3) {
                        <option value="3" selected="selected">3-6岁</option>
                        @} else {
                        <option value="3">3-6岁</option>
                        @}
                    </#select>

                    <#icon id="iconPath" name="首页图片" underline="true" iconImg="${indexPicture.pictureUrl}"/>

                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="IndexPictureDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="IndexPictureDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/app/index/index_info.js"></script>
@}
